home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / PROGEDIT / H402.ZIP / ELV17SRC.ZIP / DOC.ZIP / ELVREC.DOC < prev    next >
Text File  |  1992-12-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.           ELVREC                                                     ELVREC
  5.  
  6.  
  7.  
  8.  
  9.           NAME
  10.                elvrec  - Recover  the modified  version of  a file  after a
  11.                crash
  12.  
  13.           SYNOPSIS
  14.                elvrec [preservedfile [newfile]]
  15.  
  16.           DESCRIPTION
  17.                If  you're  editing  a  file  when  elvis dies,  the  system
  18.                crashes,  or power  fails, the most  recent version  of your
  19.                text will  be preserved.  The preserved text  is stored in a
  20.                special  directory; it  does  NOT overwrite  your text  file
  21.                automatically.
  22.  
  23.                The elvrec program  locates the preserved version of a given
  24.                file, and writes it over the  top of your text file -- or to
  25.                a new  file, if  you prefer.   The recovered file  will have
  26.                nearly all of your changes.
  27.  
  28.                To see  a list of all recoverable files,  run elvrec with no
  29.                arguments.
  30.  
  31.           FILES
  32.                /usr/preserve/p*
  33.                     The text that was preserved when elvis died.
  34.  
  35.                /usr/preserve/Index
  36.                     A  text file  which lists  the  names of  all preserved
  37.                     files,  and  the names  of  the /usr/preserve/p*  files
  38.                     which contain their preserved text.
  39.  
  40.           BUGS
  41.                elvrec is  very picky about filenames.  You  must tell it to
  42.                recover the file using exactly the same pathname as when you
  43.                were editing it.  The simplest way  to do this is to go into
  44.                the same directory  that you were editing, and invoke elvrec
  45.                with the same filename as elvis.  If that doesn't work, then
  46.                try running  elvrec with no arguments,  to see exactly which
  47.                pathname it is using for the desired file.
  48.  
  49.                Due to  the permissions  on the /usr/preserve  directory, on
  50.                UNIX  systems elvrec  must  be run  as  superuser.  This  is
  51.                accomplished  by making  the elvrec  executable be  owned by
  52.                "root" and setting its "set user id" bit.
  53.  
  54.                If you're  editing a nameless  buffer when elvis  dies, then
  55.                elvrec will pretend that the file was named "foo".
  56.  
  57.           AUTHOR
  58.                Steve Kirkendall
  59.                kirkenda@cs.pdx.edu
  60.  
  61.  
  62.  
  63.  
  64.           Command Reference               1                          Page 1
  65.  
  66.  
  67.